<div class="MainContent">	
{literal}
<script type="text/javascript">
var xmlHttp;
function createXMLHttpRequest() {
	if (window.ActiveXObject) {
		xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
	} else if (window.XMLHttpRequest) {
		xmlHttp = new XMLHttpRequest;
	} 
} 
function GetData(get_data, hId) {
	createXMLHttpRequest();
	var url="index.php?a=getdata&do="+get_data+"&lid="+hId;
	xmlHttp.open("GET", url, true);
	xmlHttp.onreadystatechange=CallBack;
	xmlHttp.send(null);
} 
function CallBack() {
	if (xmlHttp.readyState==1) {
		document.getElementById("data_type").innerHTML="<center>Loading...<img src=\"images/loading.gif\"></center>";
	} 
	if (xmlHttp.readyState==4 && xmlHttp.status==200) {
		document.getElementById("data_type").innerHTML="";
		document.getElementById("data_type").innerHTML=xmlHttp.responseText;
	} 
} 
function procVote()
{
  d = document.vote;
  if (!document.vote.email.value)
  {
    alert('Please, enter your E-Mail address!');
    document.vote.email.focus();
    return false;
  }
  else
  {
    a = d.email.value.indexOf('@');
    b = d.email.value.indexOf('@', a+1);
    c = d.email.value.lastIndexOf('.');
    if (c < a+1) { c = -1; }
    if (a == -1 || b != -1 || c <= a + 2 || a < 1 || c + 2 >= d.email.value.length || c + 4 < d.email.value.length)
    {
      alert('Please, enter a valid E-Mail Address');
      d.email.focus();
      return false;
    }
  }

  return true;
}
</script>
{/literal}

	<div>
		{if $group.type == $premiumGroupId 
			|| $group.type == $scamGroupId
			|| $group.type == $closeGroupId
			}
			{include file="details_program2.tpl"}
		{/if}
	</div>
	<div>
			<form>
				<input type="button" onclick="GetData('whois', '{$listing.id}')" value="Whois" class="sbmt" style="width: 100px;">
				<input type="button" onclick="GetData('traffic', '{$listing.id}')" value="Traffic Count" class="sbmt" style="width: 100px;">
				<input type="button" onclick="GetData('votes', '{$listing.id}')" value="Votes" class="sbmt" style="width: 100px;">
				<input type="button" onclick="GetData('button', '{$listing.id}')" value="Monitor Button" class="sbmt" style="width: 100px;">
			</form>
		<div id="data_type"></div>
	</div> 
</div>